package com.foreknow.demo6;

public class Employee {
    //构造方法
    public Employee(){

    }
    String name;
    String birth;
    double salary;
    public void getDetail(){
        System.out.println("name = " + name+ "\tbirth:"+birth+"\tsalary:"+salary);
    }
    public double getSalary(){
        return salary;
    }
}
